<form class="validate add-form" novalidate="novalidate">

    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                <label for="username" class="control-label">用户名</label>
                <input type="text" id="username" class="form-control" name="username" placeholder="用户名">
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label for="password" class="control-label">密码</label>
                <input type="text" id='password' class="form-control" name="password" placeholder="密码">
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                <label for="phone" class="control-label">电话</label>
                <input type="text" id="phone" class="form-control" name="phone" placeholder="电话" >
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label for="email" class="control-label">邮箱</label>
                <input type="text" id="email" class="form-control" name="email" placeholder="邮箱">
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                <label for="truename" class="control-label">真实姓名</label>
                <input type="text" id="truename" class="form-control" name="truename" placeholder="真实姓名">
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label">用户状态</label>
                <select class="form-control" name="status">
                    <option value="1">正常</option>
                    <option value="0">废弃</option>
                </select>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label">用户角色</label>
                <select class="form-control" name="role">
                    {volist name='roles' id='role'}
                    <option value="{$key}">{$role}</option>
                    {/volist}
                </select>
            </div>
        </div>
    </div>

</form>